<#assign jodd=JspTaglibs["http://www.springside.org.cn/jodd_form"] />
<div>
    <form id="manage_humanActiveInfrared_editform" action="/manage/demo/humanActiveInfrared/<#if action=='create'>saveJson<#else>updateJson</#if>.html" method="post">
		<@jodd.form bean="humanActiveInfrared" scope="request">
        <input name="id" type="hidden" />
        <table class="tableForm" width="100%">
			<tr>
				<th width="25%">设备编号：</th>
				<td><input type="text" name="equipmentid" placeholder="请输入设备编号..." class="easyui-validatebox" data-options="validType:['length[1,64]']"/></td>
			</tr>					
			<tr>
				<th>设备原始数据：</th>
				<td><textarea rows="3" cols="40" placeholder="请输入设备原始数据..." name="datastring" class="easyui-validatebox" data-options="validType:['length[1,200]']"></textarea></td>
			</tr>					
			<tr>
				<th>设备状态：</th>
				<td><input type="text" name="state" placeholder="请输入设备状态..." class="easyui-validatebox" data-options="validType:['length[1,10]']"/></td>
			</tr>					
			<tr>
				<th>传感器状态：</th>
				<td><input type="text" name="sensorstate" placeholder="请输入传感器状态..." class="easyui-validatebox" data-options="validType:['length[1,10]']"/></td>
			</tr>					
			<tr>
				<th>电池状态：</th>
				<td><input type="text" name="batterystate" placeholder="请输入电池状态..." class="easyui-validatebox" data-options="validType:['length[1,10]']"/></td>
			</tr>					
			<tr>
				<th>防拆状态：</th>
				<td><input type="text" name="tamperstate" placeholder="请输入防拆状态..." class="easyui-validatebox" data-options="validType:['length[1,10]']"/></td>
			</tr>					
			<tr>
				<th>按键状态：</th>
				<td><input type="text" name="keystate" placeholder="请输入按键状态..." class="easyui-validatebox" data-options="validType:['length[1,10]']"/></td>
			</tr>					
			<tr>
				<th>数据长度：</th>
				<td><input type="text" name="datalength" placeholder="请输入数据长度..." class="easyui-validatebox" data-options="validType:['length[1,10]']"/></td>
			</tr>					
			<tr>
				<th>crc16高字节：</th>
				<td><input type="text" name="crchighbytes" placeholder="请输入crc16高字节..." class="easyui-validatebox" data-options="validType:['length[1,10]']"/></td>
			</tr>					
			<tr>
				<th>crc16低字节：</th>
				<td><input type="text" name="crclowhbytes" placeholder="请输入crc16低字节..." class="easyui-validatebox" data-options="validType:['length[1,10]']"/></td>
			</tr>					
			<tr>
				<th>帧尾：</th>
				<td><input type="text" name="frametail" placeholder="请输入帧尾..." class="easyui-validatebox" data-options="validType:['length[1,10]']"/></td>
			</tr>					
			<tr>
				<th>alarm_flag：</th>
				<td><input type="text" name="alarmFlag" placeholder="请输入alarm_flag..." class="easyui-validatebox" data-options="validType:['length[1,1]'],required:true"/></td>
			</tr>					
        </table>
      </@jodd.form>
    </form>
</div>
